//
//  SmallDecisionsPromptViewController.h
//  SmallDecisions
//
//  Created by 李付雄 on 2025/6/14.
//

#import "SmallDecisionsBaseViewController.h"

NS_ASSUME_NONNULL_BEGIN

@interface SmallDecisionsPromptModalTransition : NSObject <UIViewControllerTransitioningDelegate>


@end

@interface SmallDecisionsPromptViewController : SmallDecisionsBaseViewController

+ (void)showPromptWithTitle:(NSString * _Nullable)title
                placeholder:(NSString * _Nullable)placeholder
                 cancelText:(NSString * _Nullable)cancelText
                cancelBlock:(void(^ _Nullable)(void))cancelBlock
       textFieldChangeBlock:(void(^ _Nullable)(UITextField *textField, NSString * _Nullable text))textFieldChangeBlock;

+ (void)showPromptWithTitle:(NSString * _Nullable)title
                placeholder:(NSString * _Nullable)placeholder
                   sureText:(NSString * _Nullable)sureText
                  sureBlock:(void(^ _Nullable)(NSString *text))sureBlock
       textFieldChangeBlock:(void(^ _Nullable)(UITextField *textField, NSString * _Nullable text))textFieldChangeBlock;

+ (void)showPromptWithTitle:(NSString * _Nullable)title
                placeholder:(NSString * _Nullable)placeholder
                   sureText:(NSString * _Nullable)sureText
                  sureBlock:(void(^ _Nullable)(NSString *text))sureBlock
                 cancelText:(NSString * _Nullable)cancelText
                cancelBlock:(void(^ _Nullable)(void))cancelBlock
       textFieldChangeBlock:(void(^ _Nullable)(UITextField *textField, NSString * _Nullable text))textFieldChangeBlock;

@end

NS_ASSUME_NONNULL_END
